package com.wx.cloud.dailyreport.feign;

import com.wx.cloud.dailyreport.common.CommonResult;
import com.wx.cloud.dailyreport.feign.fallback.UserServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user",fallback = UserServiceImpl.class)
public interface IUserService {
    @GetMapping("/user/getDailyreportsByUserName")
    CommonResult getDailyreportsByUserName(@RequestParam("name") String name);
}
